$OpenBSD: patch-latexmk_pl,v 1.4 2015/03/21 13:54:17 ajacoutot Exp $
--- latexmk.pl.orig	Thu Feb  5 23:00:49 2015
+++ latexmk.pl	Sat Mar 21 14:53:34 2015
@@ -1053,6 +1053,10 @@ else {
         $lpr_pdf  = 'lpr %O %S';
         $pscmd = "ps -ww -u $ENV{USER}"; 
     }
+    elsif ( $^O eq "openbsd" ) {
+        $pscmd = "ps -ww -U $ENV{USER}";
+        $pid_position = 0;
+    }
 }
 
 ## default parameters
